#= require active_admin/base
$ ->
  $('#order_good_price').change ->
    amount = $('#order_good_amount')
    $('#order_total').val($(this).val() * amount)
  $('#order_good_amount').change ->
    price = $('#order_good_price').val()
    $('#order_total').val($(this).val() * price)